//
//  LJProfessionalAnswerCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/11.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LJTalentCell.h"

//专业婚礼人帮您解答疑惑
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, LJAnswerActionType) {
    //商家
    LJAnswerActionType_store,
    
    LJAnswerActionType_userAsk,
    //用户提问
    LJAnswerActionType_ask
};

@interface LJProfessionalAnswerCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UICollectionView *collectionview;


@property (weak, nonatomic) IBOutlet UIView *shadowView;

@property (weak, nonatomic) IBOutlet UIView *cornerRediusView;


@property (weak, nonatomic) IBOutlet UIButton *askBtn;

@property (weak, nonatomic) IBOutlet UIView *scrollBGView;

@property (nonatomic, copy) void(^LJProfessionalAnswerCellBlock)(LJAnswerActionType type, NSInteger index);


//商家轮播
@property (nonatomic, strong) NSMutableArray <CommunitySellerModel*>* storeArray;
//用户提问轮播
@property (nonatomic, strong) NSMutableArray <CommunitySellerModel*>* askArray;

- (void)fillWith:(NSMutableArray <CommunitySellerModel*>*)storeArray And:(NSMutableArray <CommunitySellerModel*>*)askArray;


+ (CGFloat)calculateHeight;
@end

NS_ASSUME_NONNULL_END
